<template>
    <van-search v-model="value" shape="round" background="rgb(218, 218, 218)" placeholder="请输入搜索关键词" /><br>
    <nut-comment imagesRows="multi" :images="cmt.images" :videos="cmt.videos" :info="cmt.info" :follow="cmt.follow"
        @clickImages="clickImages"></nut-comment><br>
    <nut-comment imagesRows="multi" :images="cmt.images" :videos="cmt.videos" :info="cmt.info" :follow="cmt.follow"
        @clickImages="clickImages"></nut-comment><br>
    <nut-comment imagesRows="multi" :images="cmt.images" :videos="cmt.videos" :info="cmt.info" :follow="cmt.follow"
        @clickImages="clickImages"></nut-comment><br>
</template>
<script setup>
import { reactive, ref, onMounted } from 'vue';
let cmt = ref({});
onMounted(() => {
    fetch('//storage.360buyimg.com/nutui/3x/comment_data.json')
        .then((response) => response.json())
        .then((res) => {
            cmt.value = res.Comment;
        })
        .catch((err) => console.log('Oh, error', err));
});
const clickImages = (imgs) => {
    console.log('====================进行图片展示', imgs);
};

</script>